package org.zyx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableDiscoveryClient //可被发现的客户端(启动Eureka)
@EnableZuulProxy  //启动Zuul网关
public class YiYouGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(YiYouGatewayApplication.class,args);
    }

}
